(defun my-c-mode-common-hook ()
  (setq default-tab-width 4)
  (setq tab-width 4)
  ;;hs-minor-mode show/hide,but i use semantic-tag-folding-mode instead
  ;;(hs-minor-mode t)
  (setq c-basic-offset 4))
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)

